<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<script src="https://cdn.staticfile.org/vue/2.6.7/vue.js" type="text/javascript" charset="utf-8"></script>
		<script src="https://cdn.staticfile.org/vue-resource/1.5.1/vue-resource.min.js" type="text/javascript" charset="utf-8"></script>
	</head>
	<body>
		<input type="button" name="" id="in1" :value="text" @click="getInFo" />
		<script type="text/javascript">
			var vm=new Vue({
				el:"#in1",
				data:{
					text:"获取数据"
					
				},
				methods:{
					getInFo(){
						this.$http.get("ee").then(function(response){
							console.log(response)
						},function(response){
							console.log("错误")
						})
					}
				}
			})
		</script>
	</body>
</html>
